<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="csrf-token" content="{{:token()}}">
    <{block name="head"}>
    <title>{{:config('web.web_name')}}-</title>
    <{/block}>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" href="/static/css/all.css">
    <script src="/static/js/jquery-3.3.1.js"></script>
    <{block name="css"}><{/block}>
</head>
<body>
<div class="body">
    <div class="all-head">
        <div class="logo">一起看</div>
        <div class="menu">
            <div class="item">
                <img src="/static/icon/user2.png">
            </div>
            <div class="item">
                <img src="/static/icon/msg.png">
            </div>
            <div class="item">
                <img src="/static/icon/plus.png">
            </div>
        </div>
    </div>
    <{block name="body"}><{/block}>
</div>
<div class="tap" id="tap" v-if="tap!=0">
    <{block name="tap"}><{/block}>
</div>
<!-- 你的HTML代码 -->


<script src="/static/layui/layer_mobile/layer.js"></script>
<script src="/static/js/tools.js"></script>
<script type="text/javascript">
    var docElement = document.documentElement,
        html = $("html")
    resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
            let width = docElement.clientWidth
            let w = width < 320 ? 320 : width;
            w = w > 900 ? 900 : w
            //设置字体大小
            html.css('font-size', 9 * (w / 320))
        }
    window.addEventListener(resizeEvt, recalc, false);
    document.addEventListener('DOMContentLoaded', recalc, false);
</script>
<{block name="js"}><{/block}>
</body>
</html>